//
//  BWXSegmentBarDelegate.h
//  BWXUIKit
//
//  Created by Liu Xubin on 12-11-1.
//  Copyright (c) 2012年 baidu. All rights reserved.
//

#import <Foundation/Foundation.h>

@class BWXSegmentBar;
@protocol BWXSegmentBarDelegate<NSObject>

@optional
- (BOOL)segmentBar:(BWXSegmentBar*)bar shouldSelectIndex:(NSInteger)index preIndex:(NSInteger)preIndex;

- (void)segmentBar:(BWXSegmentBar*)bar didSelectIndex:(NSInteger)index preIndex:(NSInteger)preIndex;

@end
